package com.qiye.livevideo.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Date;
import java.math.BigDecimal;

import com.qiye.livevideo.common.BaseBean;
import com.qiye.livevideo.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * Created on 2019/4/30.
 *
 * @author meishijun
 */
@ApiModel(description="阿里云调用接口次数记录")
public class ApiCount   extends BaseBean {


	/**
	 * id
	 */
	@ApiModelProperty(value = "id")
	private Integer id;
	/**
	 * 时间戳-创建时间
	 */
	@ApiModelProperty(value = "时间戳-创建时间")
	private Date createTime;
	/**
	 * 调用接口次数
	 */
	@ApiModelProperty(value = "调用接口次数")
	private Integer apiCount;
	public Integer getId(){
		return id;
	}


	public void setId(Integer id){
		this.id=id;
	}


	public String getCreateTimeStr(){
		return DateUtils.formatDateTime(createTime);
	}


	@JsonIgnore
	public Date getCreateTime(){
		return createTime;
	}


	public void setCreateTime(Date createTime){
		this.createTime=createTime;
	}


	public Integer getApiCount(){
		return apiCount;
	}


	public void setApiCount(Integer apiCount){
		this.apiCount=apiCount;
	}


}
